|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.utility.UtilitySpace
negotiator.boaframework.opponentmodel.tools.UtilitySpaceAdapter
public class UtilitySpaceAdapter
Some opponent models do not use the UtilitySpace-object. Using this object, a UtilitySpace-object can be created for each opponent model.
| Field Summary |
|---|
| Fields inherited from class negotiator.utility.UtilitySpace |
|---|
domain |
| Constructor Summary | |
|---|---|
UtilitySpaceAdapter(OpponentModel opponentModel,
Domain domain)
|
|
| Method Summary | |
|---|---|
double |
getUtility(Bid b)
|
double |
getWeight(int i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UtilitySpaceAdapter(OpponentModel opponentModel,
Domain domain)
| Method Detail |
|---|
public double getUtility(Bid b)
getUtility in class UtilitySpaceb - of which we are interested in its utility.
public double getWeight(int i)
getWeight in class UtilitySpacei - The Issue or Objective to get the weight from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||